import { defineConfig } from 'vitest/config';

export default defineConfig({
  // Configure Vitest (https://vitest.dev/config/)
  test: {
    coverage: {
      enabled: true,
      provider: 'v8',
      include: ['src/**'],
      reporter: ['html', 'text-summary', 'text', 'json-summary', 'cobertura']
    },
    browser: {
      provider: 'playwright',
      enabled: true,
      instances: [
        { browser: 'chromium' }
      ],
    }
  },
});
